package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品对象 A_product
 * 
 * @author 王家宁
 * @date 2024-08-14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("A_product")
public class AProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    private String imgUrl;
    /** 售价 */
    @Excel(name = "售价")
    private Double productPrice;

    /** 商品积分 */
    @Excel(name = "商品积分")
    private Long productScore;

    /** 0:上架，1：下架 */
    @Excel(name = "0:上架，1：下架")
    private Integer productStatus;

    /** 库存 */
    @Excel(name = "库存")
    private Long productStock;

    /** 分类id */
    @Excel(name = "分类id")
    private Long categoryId;

    /** 删除标志（0：未删除，1：已删除） */
    private Integer isDelete;
}
